package com.jinzhi.sys.service.impl;

import com.jinzhi.common.base.CoreServiceImpl;
import com.jinzhi.sys.dao.UserRoleDao;
import com.jinzhi.sys.domain.UserRoleDO;
import com.jinzhi.sys.service.UserRoleService;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.List;

/**
 * <pre>
 * </pre>
 *
 * <small> 2018年3月23日 | Aron</small>
 */
@Service
public class UserRoleServiceImpl extends CoreServiceImpl<UserRoleDao, UserRoleDO> implements UserRoleService {


    @Override
    public List<Long> listRoleId(Serializable userId) {
        return baseMapper.listRoleId(userId);
    }

    @Override
    public List<String> selroleNameList(Long userId){
        return this.baseMapper.selroleNameList(userId);
    }

}
